﻿using UnityEngine;
using System.Collections;

public class Destroyer : MonoBehaviour {

	// Use this for initialization
	void OnTriggerExit2D(Collider2D col){
		Debug.Log(col);
		Destroy(col.gameObject);
		if (col.gameObject.tag == "Hook") {
			playerController.placeOne = false;
		}
		if (col.gameObject.tag == "player") {
			Debug.Break();
			return;
		}
	}
}
